/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package web.Dao;

import java.util.ArrayList;
import java.util.List;
import web.enity.Item;
import web.enity.Order;
import web.enity.OrderDital;

/**
 *
 * @author 10592
 */
public interface OrderDAO {
   
    /**
     * 插入订单数据
     *
     * @param order
     * @return
     */
    int insertOrder(Order order);
    /**
     * 插入订单详情
     * @param items
     * @return 
     */
    int insertItems(Item item);
    /**
     * 查看订单详细信息
     * @param ArrayList<Order> order
     * @return 
     */
    List<OrderDital> quaryOrderiItems(String userName);
    
}
